package tw.asap.plus.entity.response;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Description:
 * Created:      [15/11/9]
 * Author:       [Yang]
 **/
public class ShopInfo implements Parcelable {


    /**
     * intro : 店铺详情
     * sccode : 店铺分类编码
     * logo : 店铺logo
     * lng : 经度
     * lat : 纬度
     * sctype : 店铺类型
     * operation : 店铺营业状态
     * shipping_price : 配送费用
     * city : 城市
     * shipping_base : 配送基价
     * service : 店铺支持配送上门
     * score : 评分
     * merid : 商户id
     * status : 店铺状态
     * shipping_area : 配送区域
     * opening : 开始营业时间
     * shipping_times : 配送时间
     * shopkey : 店铺id
     * address : 店铺地址
     * sales_nums : 销售数量
     * promotion : 促销信息
     * name : 店铺名称
     * shipping_freebase : 免配送基价
     * contact : 联系方式
     * subname : 店铺子名称
     * shipping_radius : 配送半径
     * closing : 结束营业时间
     * bulletin : 店铺公告
     */

    private String intro;
    private String sccode;
    private String logo;
    private String lng;
    private String lat;
    private String sctype;
    private String operation;
    private String shipping_price;
    private String city;
    private String shipping_base;
    private String service;
    private String score;
    private String merid;
    private String status;
    private String shipping_area;
    private String opening;
    private String shipping_times;
    private String shopkey;
    private String address;
    private String sales_nums;
    private String promotion;
    private String name;
    private String shipping_freebase;
    private String contact;
    private String subname;
    private String shipping_radius;
    private String closing;
    private String bulletin;

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public void setSccode(String sccode) {
        this.sccode = sccode;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public void setSctype(String sctype) {
        this.sctype = sctype;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public void setShipping_price(String shipping_price) {
        this.shipping_price = shipping_price;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public void setShipping_base(String shipping_base) {
        this.shipping_base = shipping_base;
    }

    public void setService(String service) {
        this.service = service;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public void setMerid(String merid) {
        this.merid = merid;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setShipping_area(String shipping_area) {
        this.shipping_area = shipping_area;
    }

    public void setOpening(String opening) {
        this.opening = opening;
    }

    public void setShipping_times(String shipping_times) {
        this.shipping_times = shipping_times;
    }

    public void setShopkey(String shopkey) {
        this.shopkey = shopkey;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setSales_nums(String sales_nums) {
        this.sales_nums = sales_nums;
    }

    public void setPromotion(String promotion) {
        this.promotion = promotion;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setShipping_freebase(String shipping_freebase) {
        this.shipping_freebase = shipping_freebase;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public void setSubname(String subname) {
        this.subname = subname;
    }

    public void setShipping_radius(String shipping_radius) {
        this.shipping_radius = shipping_radius;
    }

    public void setClosing(String closing) {
        this.closing = closing;
    }

    public void setBulletin(String bulletin) {
        this.bulletin = bulletin;
    }

    public String getIntro() {
        return intro;
    }

    public String getSccode() {
        return sccode;
    }

    public String getLogo() {
        return logo;
    }

    public String getLng() {
        return lng;
    }

    public String getLat() {
        return lat;
    }

    public String getSctype() {
        return sctype;
    }

    public String getOperation() {
        return operation;
    }

    public String getShipping_price() {
        return shipping_price;
    }

    public String getCity() {
        return city;
    }

    public String getShipping_base() {
        return shipping_base;
    }

    public String getService() {
        return service;
    }

    public String getScore() {
        return score;
    }

    public String getMerid() {
        return merid;
    }

    public String getStatus() {
        return status;
    }

    public String getShipping_area() {
        return shipping_area;
    }

    public String getOpening() {
        return opening;
    }

    public String getShipping_times() {
        return shipping_times;
    }

    public String getShopkey() {
        return shopkey;
    }

    public String getAddress() {
        return address;
    }

    public String getSales_nums() {
        return sales_nums;
    }

    public String getPromotion() {
        return promotion;
    }

    public String getName() {
        return name;
    }

    public String getShipping_freebase() {
        return shipping_freebase;
    }

    public String getContact() {
        return contact;
    }

    public String getSubname() {
        return subname;
    }

    public String getShipping_radius() {
        return shipping_radius;
    }

    public String getClosing() {
        return closing;
    }

    public String getBulletin() {
        return bulletin;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.intro);
        dest.writeString(this.sccode);
        dest.writeString(this.logo);
        dest.writeString(this.lng);
        dest.writeString(this.lat);
        dest.writeString(this.sctype);
        dest.writeString(this.operation);
        dest.writeString(this.shipping_price);
        dest.writeString(this.city);
        dest.writeString(this.shipping_base);
        dest.writeString(this.service);
        dest.writeString(this.score);
        dest.writeString(this.merid);
        dest.writeString(this.status);
        dest.writeString(this.shipping_area);
        dest.writeString(this.opening);
        dest.writeString(this.shipping_times);
        dest.writeString(this.shopkey);
        dest.writeString(this.address);
        dest.writeString(this.sales_nums);
        dest.writeString(this.promotion);
        dest.writeString(this.name);
        dest.writeString(this.shipping_freebase);
        dest.writeString(this.contact);
        dest.writeString(this.subname);
        dest.writeString(this.shipping_radius);
        dest.writeString(this.closing);
        dest.writeString(this.bulletin);
    }

    public ShopInfo() {
    }

    protected ShopInfo(Parcel in) {
        this.intro = in.readString();
        this.sccode = in.readString();
        this.logo = in.readString();
        this.lng = in.readString();
        this.lat = in.readString();
        this.sctype = in.readString();
        this.operation = in.readString();
        this.shipping_price = in.readString();
        this.city = in.readString();
        this.shipping_base = in.readString();
        this.service = in.readString();
        this.score = in.readString();
        this.merid = in.readString();
        this.status = in.readString();
        this.shipping_area = in.readString();
        this.opening = in.readString();
        this.shipping_times = in.readString();
        this.shopkey = in.readString();
        this.address = in.readString();
        this.sales_nums = in.readString();
        this.promotion = in.readString();
        this.name = in.readString();
        this.shipping_freebase = in.readString();
        this.contact = in.readString();
        this.subname = in.readString();
        this.shipping_radius = in.readString();
        this.closing = in.readString();
        this.bulletin = in.readString();
    }

    public static final Parcelable.Creator<ShopInfo> CREATOR = new Parcelable.Creator<ShopInfo>() {
        public ShopInfo createFromParcel(Parcel source) {
            return new ShopInfo(source);
        }

        public ShopInfo[] newArray(int size) {
            return new ShopInfo[size];
        }
    };
}
